package com.tzxs.pay.main.onlineaut;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;

import com.bumptech.glide.Glide;
import com.tzxs.pay.R;
import com.tzxs.pay.databinding.ActivityOnUseInfoBinding;
import com.tzxs.pay.main.base.BaseActivity;

//
public class OnlineUseInfoActivity extends BaseActivity<ActivityOnUseInfoBinding> {
    @Override
    protected Activity getChildActivity() {
        return this;
    }

    @Override
    protected int getLayoutId() {

        return R.layout.activity_on_use_info;
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        dataBinding.useInfoToolbar.setNavigationOnClickListener(v -> onBackPressed());
        Glide.with(this).load(R.drawable.online_use_1).into(dataBinding.userImg1);
        Glide.with(this).load(R.drawable.online_use_2).into(dataBinding.img1);
        Glide.with(this).load(R.drawable.online_use_3).into(dataBinding.img2);
        Glide.with(this).load(R.drawable.online_use_4).into(dataBinding.img3);
        Glide.with(this).load(R.drawable.online_use_5).into(dataBinding.img4);
    }
}
